package com.cskaoyan.bean;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Arrays;
import java.util.Date;

@Data
public class MarketCoupon {
    @Override
    public String toString() {
        return "MarketCoupon{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", desc='" + desc + '\'' +
                ", tag='" + tag + '\'' +
                ", total=" + total +
                ", discount=" + discount +
                ", min=" + min +
                ", limit=" + limit +
                ", type=" + type +
                ", status=" + status +
                ", goodsType=" + goodsType +
                ", goodsValue=" + Arrays.toString(goodsValue) +
                ", code='" + code + '\'' +
                ", timeType=" + timeType +
                ", days=" + days +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", addTime=" + addTime +
                ", updateTime=" + updateTime +
                ", deleted=" + deleted +
                '}';
    }

    private Integer id;

    private String name;

    private String desc;

    private String tag;

    private Integer total;

    private BigDecimal discount;

    private BigDecimal min;

    private Short limit;

    private Short type;

    private Short status;

    private Short goodsType;

    private String[] goodsValue;

    private String code;

    private Short timeType;

    private Short days;

    private Date startTime;

    private Date endTime;

    private Date addTime;

    private Date updateTime;

    private Boolean deleted;

}
